#! /bin/bash
# 服务端启动脚本

server_node_dir="/home/mnt/hmdfs_dev/server_node"
mkdir -p ${server_node_dir}"/src"
mkdir -p ${server_node_dir}"/dst"

# 挂载hmdfs目录
sudo mount -t hmdfs -o merge,local_dst=${server_node_dir}"/dst" ${server_node_dir}"/src" ${server_node_dir}"/dst"

sudo ./test_hmdfs ${server_node_dir}"/dst" -s